package com.zhiche.lisa.lspm.dao.mapper.carrier;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.zhiche.lisa.lspm.dao.model.carrier.CarrierCard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 牵引车绑定的卡片（油卡、路桥卡） Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-05-30
 */
public interface CarrierCardMapper extends BaseMapper<CarrierCard> {

    /**
     * 批量添加
     */
    void batchInsert(@Param("cardList") List<CarrierCard> cardList);

    List<CarrierCard> selectCardNoTenant(@Param("ew") EntityWrapper<CarrierCard> oilEW);
}
